package extend;

/**
 * @Author: 1264906180@qq.com
 * @Date: 2019/1/7 22:34
 * @Description: 继承抽象类 实现里面的方法
 */
public class BufferedWriterFileIp extends BufferedWriterFile{
    public BufferedWriterFileIp(Writer writer) {
        //委托给超类的构造函数处理
        super(writer);
    }

    @Override
    public void buffered() {
        System.out.println("加入高效缓冲");
    }

    @Override
    public void clean() {
        System.out.println("做清理工作");
    }
}
